package com.sch.hospital.domain;


import java.time.LocalDate;

/**
 * 医院荣誉对象 award
 * 
 * @date 2025-06-30
 */

public class Award 
{

    /** 荣誉ID，自增主键 */
    private Long id;

    /** 荣誉标题 */
    private String title;

    /** 获得年份 */
    private String year;

    /** 荣誉类型 */
    private String type;

    /** 是否空心:0实心,1空心 */
    private Long hollow;

    /** 创建时间 */
    private LocalDate createTime;

    /** 更新时间 */
    private LocalDate updateTime;


    public Award() {
    }

    public Award(Long id, String title, String year, String type, Long hollow, LocalDate createTime, LocalDate updateTime) {
        this.id = id;
        this.title = title;
        this.year = year;
        this.type = type;
        this.hollow = hollow;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return year
     */
    public String getYear() {
        return year;
    }

    /**
     * 设置
     * @param year
     */
    public void setYear(String year) {
        this.year = year;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return hollow
     */
    public Long getHollow() {
        return hollow;
    }

    /**
     * 设置
     * @param hollow
     */
    public void setHollow(Long hollow) {
        this.hollow = hollow;
    }

    /**
     * 获取
     * @return createTime
     */
    public LocalDate getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateTime
     */
    public LocalDate getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(LocalDate updateTime) {
        this.updateTime = updateTime;
    }

    public String toString() {
        return "Award{id = " + id + ", title = " + title + ", year = " + year + ", type = " + type + ", hollow = " + hollow + ", createTime = " + createTime + ", updateTime = " + updateTime + "}";
    }
}
